package com.itheima.ssm.service;

import com.itheima.ssm.domain.Product;

import java.util.List;

public interface IProductService {
    //查询所有产品信息
    public List<Product> findAll() throws Exception;

    public void save(Product product);

    public void update(Product product);

    public  Product findById(String id) throws Exception;

    public void deleteById(String id)throws Exception;
}